$(function() {
	setMonth();
});
function setMonth() {
	var etc ="";
	$.ajax({
		url : "jsp/selectmonth.jsp",
		success : function(data) {
			$("[name='month']").html(data);
			setSearchDay(etc);
		}
	});
}
function setSearchDay(etc) {

	var year = document.search_reserve_fm.year.value;
	var month = document.search_reserve_fm.month.value;

	$.ajax({
		type : "POST",
		url : "jsp/selectdate.jsp",
		data : "year=" + year + "&month=" + month,
		success : function(data) {
			$("#search_day").html(data);
		}
	});
}